import request from '@/utils/request'
export default {

    //根据课程id查询评论列表
    getCommentPageList(page,limit,courseId) {
        return request({
        url: `/eduservice/educomment/getCommentPageList/${page}/${limit}/${courseId}`,
        method: 'get'
        })
    },
    
    addComment(comment){
        return request({
        url: `/eduservice/educomment/addComment/auth/save`,
        method: 'post',
        data:comment
        })
    }
}